package com.rgs.ssm.dao;

import com.rgs.ssm.domain.Member;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @create 2021-02-17 18:18
 *
 * 游客的业务层接口
 **/
public interface IMemberDao {

    @Select("select * from member where id = #{id}")
    Member findById(Integer id);


    @Select("select * from member")
    List<Member> findAll();
}
